package com.ssy.lingxi.member.merchant.model.vo.basic.response;

import java.time.LocalDateTime;

/**
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-30
 */
public class MemberUserChannelVO {

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 会员Id
     */
    private Long memberId;

    /**
     * 角色Id
     */
    private Long roleId;

    /**
     * 会员上下级关系Id
     */
    private Long memberRelationId;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 下级渠道会员Id
     */
    private Long subMemberId;

    /**
     * 下级渠道会员角色Id
     */
    private Long subRoleId;

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMemberRelationId() {
        return memberRelationId;
    }

    public void setMemberRelationId(Long memberRelationId) {
        this.memberRelationId = memberRelationId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public Long getSubRoleId() {
        return subRoleId;
    }

    public void setSubRoleId(Long subRoleId) {
        this.subRoleId = subRoleId;
    }

    public MemberUserChannelVO(LocalDateTime createTime, Long memberId, Long roleId, Long memberRelationId, Long userId, Long subMemberId, Long subRoleId) {
        this.createTime = createTime;
        this.memberId = memberId;
        this.roleId = roleId;
        this.memberRelationId = memberRelationId;
        this.userId = userId;
        this.subMemberId = subMemberId;
        this.subRoleId = subRoleId;
    }

    public MemberUserChannelVO() {
    }

    @Override
    public String toString() {
        return "MemberUserChannelVO{" +
                ", createTime=" + createTime +
                ", memberId=" + memberId +
                ", roleId=" + roleId +
                ", memberRelationId=" + memberRelationId +
                ", userId=" + userId +
                ", subMemberId=" + subMemberId +
                ", subRoleId=" + subRoleId +
                '}';
    }
}
